<template>
  <el-form ref="form" :model="form" label-width="120px">
    <el-form-item label for="活动名称">
      <el-input v-model="form.name" />
    </el-form-item>
  </el-form>
</template>
<script>
export default {
  name: "FormDemo",
  data() {
    return {
      form: {
        name: "",
        region: "",
        data1: "",
        data2: "",
      },
    };
  },
  methods: {
    onsubmit() {
      console.log("提交啦");
    },
  },
};
</script>
